package com.ruoyi.ldzlsb.domain;

import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 巡检日期记录对象 sb_inspection_date_record
 * 
 * @author ruoyi
 */
public class SbInspectionDateRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 巡检单ID */
    @Excel(name = "巡检单ID")
    private Long inspectionRecordId;

    /** 巡检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionDate;

    /** 状态（0未巡检 1已巡检） */
    @Excel(name = "状态", readConverterExp = "0=未巡检,1=已巡检")
    private String status;

    /** 结果（0正常 1异常） */
    @Excel(name = "结果", readConverterExp = "0=正常,1=异常")
    private String result;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 巡检日期明细列表 */
    private List<SbInspectionDateDetail> detailList;

    /** 巡检单对象 */
    private SbInspectionRecord inspectionRecord;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setInspectionRecordId(Long inspectionRecordId) 
    {
        this.inspectionRecordId = inspectionRecordId;
    }

    public Long getInspectionRecordId() 
    {
        return inspectionRecordId;
    }

    public void setInspectionDate(Date inspectionDate) 
    {
        this.inspectionDate = inspectionDate;
    }

    public Date getInspectionDate() 
    {
        return inspectionDate;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }

    @Override
    public void setRemark(String remark) 
    {
        this.remark = remark;
    }

    @Override
    public String getRemark() 
    {
        return remark;
    }

    public List<SbInspectionDateDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<SbInspectionDateDetail> detailList) {
        this.detailList = detailList;
    }

    public SbInspectionRecord getInspectionRecord() {
        return inspectionRecord;
    }

    public void setInspectionRecord(SbInspectionRecord inspectionRecord) {
        this.inspectionRecord = inspectionRecord;
    }
} 